package model;

public class BestellingProducten {
        private Bestelling      bestelling = null;
        private Product         product = null;
        private int             aantal = -1;
        
        public BestellingProducten(Bestelling bestelling, Product product, int aantal) {
                this.bestelling = bestelling;
                this.product    = product;
                this.aantal     = aantal;
        }
        
        public void setBestelling(Bestelling bestelling) {this.bestelling = bestelling;}
        public void setProduct(Product product)          {this.product = product;}
        public void setAantal(int aantal)                {this.aantal = aantal;}
        
        public Bestelling getBestelling() {return bestelling;}
        public Product getProduct()       {return product;}
        public int getAantal()            {return aantal;}
}